<?php // Vars: $work

use_helper('Date');
 
echo _open('div.clearfix');  
 
// Wrap the title in a H1
  
echo "Type:";
echo "<br>";
echo _tag('h1.t_work', $work->type);
echo "Company:";
echo "<br>";
echo _tag('h1.t_work', $work->company);
echo "Number:";
echo "<br>";
echo _tag('h1.t_work', $work->number);
echo "Description:";
echo "<br>";
echo _tag('h1.t_work', $work->description);  
 
// Open a P tag to display some work infos  
echo _tag('p.work_infos',  
 
  _tag('span', 'Deadline  :  '.format_date($work->day_exprice, 'D'))
 
);  
 
// render the work image.  
// scale it to 200px width and height.  
// give it the "image" CSS class.  
//echo _media($work->Image)->size(200, 150)->set('.image');  
 
// render work body processed with markdown.  
//echo markdown($work->body);  

echo _close('div');  
